/**
 * @author: yyq
 * @date: 2025年3月14日 17:06:15
 * @description: 
 */
package com.sheepone.monitor.server;

import com.sheepone.monitor.runner.AbstractMonitorRunner;
import com.sheepone.monitor.runner.AbstractMonitorRunnerHolder;
import com.sheepone.monitor.server.config.MonitorServerConfig;
import com.sheepone.webdev.log.WebDevLogger;

/**
 * @author: yyq
 * @date: 2025年3月14日 17:06:15
 * @description:
 */
public abstract class AbstractMonitorServer<C extends MonitorServerConfig, I extends BaseMonitorSeverChannelInitializer>
        extends AbstractMonitorRunnerHolder<C, I> {
    private static WebDevLogger logger = WebDevLogger.getLogger(AbstractMonitorServer.class);

    public AbstractMonitorServer(C config) {
        super(config);
    }

    @Override
    protected AbstractMonitorRunner<C, I> runner() {
        return new MonitorServerRunner<>(this.config);
    }
}
